package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.entity.BaseEntity;

import javax.xml.crypto.Data;
import java.util.Date;


@Table(name = "t_goods_comment")
public class GoodsComment extends BaseEntity {

    private Integer id;
    /**
     * 商品id
     **/
    private Integer goodsId;
    /**
     * 用户id
     **/
    private Integer userId;
    /**
     * 评价
     **/
    private String content;
    /**
     * 图片
     **/
    private String images;
    /**
     * 评论时间
     **/
    private Date created;
    /**
     * 规格参数
     **/
    private String specJson;
    /**
     * 星级
     **/
    private Integer starNum;
    /**
     * 订单编号
     */
    private String orderNumber;
    /**
     * 追评内容
     */
    private String review;
    /**
     * 追评图片
     */
    private String reviewImg;
    /**
     * 评论回复
     */
    private String contentReply;
    /**
     * 追平回复
     */
    private String reviewReply;
    /**
     * 追评时间
     */
    private Date reviewTime;
    /**
     * 追评回复时间
     */
    private Data reviewReplyTime;
    /**
     * 评论回复时间
     */
    private Date contentReplyTime;
    /**
     * bus_id
     * 商家编号
     *
     * @return
     */
    private int busId;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 商品id
     **/
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 用户id
     **/
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 评价
     **/
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 图片
     **/
    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    /**
     * 评论时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 规格参数
     **/
    public String getSpecJson() {
        return specJson;
    }

    public void setSpecJson(String specJson) {
        this.specJson = specJson;
    }

    /**
     * 星级5
     **/
    public Integer getStarNum() {
        return starNum;
    }

    public void setStarNum(Integer starNum) {
        this.starNum = starNum;
    }

    public int getBusId() {
        return busId;
    }

    public void setBusId(int busId) {
        this.busId = busId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getReview() {
        return review;
    }

    public void setReview(String review) {
        this.review = review;
    }

    public String getContentReply() {
        return contentReply;
    }

    public void setContentReply(String contentReply) {
        this.contentReply = contentReply;
    }

    public String getReviewReply() {
        return reviewReply;
    }

    public void setReviewReply(String reviewReply) {
        this.reviewReply = reviewReply;
    }

    public Date getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(Date reviewTime) {
        this.reviewTime = reviewTime;
    }

    public Data getReviewReplyTime() {
        return reviewReplyTime;
    }

    public void setReviewReplyTime(Data reviewReplyTime) {
        this.reviewReplyTime = reviewReplyTime;
    }

    public Date getContentReplyTime() {
        return contentReplyTime;
    }

    public void setContentReplyTime(Date contentReplyTime) {
        this.contentReplyTime = contentReplyTime;
    }

    public String getReviewImg() {
        return reviewImg;
    }

    public void setReviewImg(String reviewImg) {
        this.reviewImg = reviewImg;
    }
}